Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
9 lines (5 loc) · 487 Bytes

2.3.8 - task_tmpdir.md

File metadata and controls

9 lines (5 loc) · 487 Bytes

task_tmpdir

设置task的数据临时目录,在Server中,如果投递的数据超过8180字节,将启用临时文件来保存数据。这里的task_tmpdir就是用来设置临时文件保存的位置。

底层默认会使用/tmp目录存储task数据,如果你的Linux内核版本过低,/tmp目录不是内存文件系统,可以设置为 /dev/shm/

  • task_tmpdir目录不存在,底层会尝试自动创建
  • 创建失败时,Server->start会失败